﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Services
{
    /// <summary>
    /// DataContract标签表示这个类在调用的时候能够序列化 
    /// </summary>
    [DataContract]
    public class Book
    {
        [DataMember]
        public string BookNo;

        /// <summary>
        /// DataMember标签表示这个变量需要被序列化
        /// </summary>
        [DataMember]
        public string BookName;

        [DataMember]
        public string BookPrice;

    }
}
